<script setup>
import { ref } from 'vue'
// 查看内容
const contentVisibility = ref(false)
const info = ref('')

const open = (row) => {
  info.value = row.info
  contentVisibility.value = true
}
defineExpose({ open })
</script>
<template>
  <div class="content-container">
    <el-drawer title="内容预览" v-model="contentVisibility" size="45%">
      <div class="content-header">
        <div class="content-title" v-html="info"></div>
      </div>
    </el-drawer>
  </div>
</template>
<style lang="scss" scoped></style>
